﻿@if (Request.IsAuthenticated)
{
    <span class="welcome">Welcome <strong>@User.Identity.Name</strong>!
    @Html.ActionLink("Log Off", "LogOff", "Account")</span>
}
else
{
    @Html.ActionLink("Log On", "LogOn", "Account")
    @Html.ActionLink("Register", "Register", "Account")
}